#!/usr/bin/env python



class Event:
    
    COMPLETE    = "complete"
    ALL         = "all"
    READY       = "ready"
    
    # TODO remplace arg par **arg (object)
    def __init__(self, type_):
        self.type=type_
        self.caller=None
        
        
    def clone(self):
        evt=Event(self.type)
        evt.caller=self.caller
        return evt
    
    #def __getattr__(self, attr):
    #    return self.eventArg[attr]
